package com.ruoyi.admin.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;

import java.util.Date;

/**
 * @author ：zzz
 * @date ：Created in 2022/10/25 16:35
 * @description：aaa
 */
public class MalfunctionVo {
    private static final long serialVersionUID = 1L;

    /** 故障信息id */
    private Long malfunctionId;

    /** 故障类型 */
    @Excel(name = "故障类型")
    private Long type;

    /** 故障描述 */
    @Excel(name = "故障描述")
    private String describes;

    /** 故障上报用户id */
    @Excel(name = "故障上报用户id")
    private Long loginId;

    /** 医院或科室对接人 */
    @Excel(name = "医院或科室对接人")
    private Long userId;

    /** 医院ID */
    @Excel(name = "医院ID")
    private Long hospitalId;

    /** 故障标题 */
    @Excel(name = "故障标题")
    private String title;

    /** 科室ID */
    @Excel(name = "科室ID")
    private Long deptId;

    /** 床位ID */
    @Excel(name = "床位ID")
    private Long bedId;

    /** 床位编号 */
    @Excel(name = "床位编号")
    private String bedCode;

    @Override
    public String toString() {
        return "MalfunctionVo{" +
                "malfunctionId=" + malfunctionId +
                ", type=" + type +
                ", describes='" + describes + '\'' +
                ", loginId=" + loginId +
                ", userId=" + userId +
                ", hospitalId=" + hospitalId +
                ", title='" + title + '\'' +
                ", deptId=" + deptId +
                ", bedId=" + bedId +
                ", bedCode='" + bedCode + '\'' +
                ", statue=" + statue +
                ", time=" + time +
                ", orderId=" + orderId +
                ", hospitalName='" + hospitalName + '\'' +
                ", departmentName='" + departmentName + '\'' +
                ", orderNumber='" + orderNumber + '\'' +
                ", userName=" + userName +
                '}';
    }

    public String getBedCode() {
        return bedCode;
    }

    public void setBedCode(String bedCode) {
        this.bedCode = bedCode;
    }

    /** 1.已备案、2.修复中、3.已修复、4.无法修复 */
    @Excel(name = "1.已备案、2.修复中、3.已修复、4.无法修复")
    private Long statue;

    /** 故障备案时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "故障备案时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

        /** 医院名称 */
    @Excel(name = "医院名称")
    private String hospitalName;

    /** 科室名称 */
    @Excel(name = "科室名称")
    private String departmentName;

    /**定单编号 */
    @Excel(name = "定单编号")
    private String orderNumber;

    /** 医院或科室对接人 */
    @Excel(name = "医院或科室对接人")
    private Long userName;

    public Long getUserName() {
        return userName;
    }

    public void setUserName(Long userName) {
        this.userName = userName;
    }

    public Long getMalfunctionId() {
        return malfunctionId;
    }

    public void setMalfunctionId(Long malfunctionId) {
        this.malfunctionId = malfunctionId;
    }

    public Long getType() {
        return type;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public String getDescribes() {
        return describes;
    }

    public void setDescribes(String describes) {
        this.describes = describes;
    }

    public Long getLoginId() {
        return loginId;
    }

    public void setLoginId(Long loginId) {
        this.loginId = loginId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getBedId() {
        return bedId;
    }

    public void setBedId(Long bedId) {
        this.bedId = bedId;
    }

    public Long getStatue() {
        return statue;
    }

    public void setStatue(Long statue) {
        this.statue = statue;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

}
